package com.maykk.Demo03;

public class Persontest {
    public static void main(String[] args) {
        Person p = new Person();
        p.name = "小马";
        p.age = 17;
        p.eat();
        show(p);
    }
    public static void show(Person person) {
        person.name = "小四对象";
        person.age = 20;
        person.eat();
    }
}
